﻿<%@ Page Language="C#" MasterPageFile="~/JOINT/MstPage_JOINT.master" AutoEventWireup="true" ValidateRequest="false" CodeFile="frmJ_TraineeEnterBasicInput.aspx.cs" Inherits="JOINT_frmJ_TraineeEnterBasicInput" Title="入学情報" Culture="ja-JP" uiCulture="ja" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
入学情報</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<script type="text/javascript" src="../Js/jquery.min.js"></script>
<script type="text/javascript" src="../js/Validation.js"></script>
<script type="text/javascript">
    $(document).ready(function() {
        startup();
    });

    function startup() {
        if ($('ctl00_ContentPlaceHolder1_ddl_職務コード').is(':visible')) {
            $('input:text:first').focus();
        }

        if ($("#ctl00_ContentPlaceHolder1_txt_胸囲").val() == "0") {
            $("#ctl00_ContentPlaceHolder1_txt_胸囲").val("");
        }

        if ($("#ctl00_ContentPlaceHolder1_txt_胴回り").val() == "0") {
            $("#ctl00_ContentPlaceHolder1_txt_胴回り").val("");
        }

        registerControlToValidation("validation");

        formatDate("css_textbox_Calendar", "/");

        registerEnterEvent("css_font_textbox", "<%= btn確認.ClientID %>", 29);

        formatMoney("money", ",", ".", 1);

        $("#ctl00_ContentPlaceHolder1_txt_変更理由").attr('maxlength', '200'); //firefox run, IE no

        $("#ctl00_ContentPlaceHolder1_txt_足サイズ").bind("blur", function(e) {
            var str = $(this).val();
            if (str.substring(0, 1) == ".")
                $(this).val("0" + str);
        });
        $("#ctl00_ContentPlaceHolder1_txt_胸囲").bind("blur", function(e) {
            var str = $(this).val();
            if (str.substring(0, 1) == ".")
                $(this).val("0" + str);
        });
        $("#ctl00_ContentPlaceHolder1_txt_胴回り").bind("blur", function(e) {
            var str = $(this).val();
            if (str.substring(0, 1) == ".")
                $(this).val("0" + str);
        });

        if ($("#ctl00_ContentPlaceHolder1_txt_胸囲").val().substring(0, 1) == ".") {
            var str = $("#ctl00_ContentPlaceHolder1_txt_胸囲").val();
            $("#ctl00_ContentPlaceHolder1_txt_胸囲").val("0" + str);
        }
        if ($("#ctl00_ContentPlaceHolder1_txt_胴回り").val().substring(0, 1) == ".") {
            var str = $("#ctl00_ContentPlaceHolder1_txt_胴回り").val();
            $("#ctl00_ContentPlaceHolder1_txt_胴回り").val("0" + str);
        }

        CheckDisable_ButtonSubmit();

        $(this).bind('keyup click', function(e) {
            CheckDisable_ButtonSubmit();
        });
    }

    function CheckDisable_ButtonSubmit() {
        var textboxes = $('#maindiv1').find('.type_textbox');
        var count_control_empty = 0;
        textboxes.each(function() {
            if (this.value.length == 0) {
                count_control_empty++;
            }
        });

        var dropdown_lists = $('#maindiv1').find('.type_ddl');
        var count_control_select = 0;
        dropdown_lists.each(function() {
            if (this.value == "-1") {
                count_control_select++;
            }
        });

        var total_control = count_control_empty + count_control_select;
        if(total_control == 28){
            $('#<%= btn確認.ClientID %>').attr('disabled', 'disabled');
        }else{
            $('#<%= btn確認.ClientID %>').removeAttr('disabled');
        }
    }

    function decimalonly(myfield, e, dec) {
        var key;
        var keychar;

        if (window.event)
            key = window.event.keyCode;
        else if (e)
            key = e.which;
        else
            return true;
        keychar = String.fromCharCode(key);

        // control keys
        var str = $("#" + myfield.id).val();
        var count_dot = str.split(".");
        if (key == 46 && str == "") {
            return false;
        } else if (key == 46 && count_dot.length > 1) {
            return false;
        }

        if ((key == null) || (key == 0) || (key == 8) || (key == 9) || (key == 13) || (key == 27))
            return true;

        else if ((("0123456789.").indexOf(keychar) > -1)) {
            return true;
        }
        else if (dec && (keychar == ".")) {
            myfield.form.elements[dec].focus();
            return false;
        }
        else
            return false;
    }

    function CheckRequiredパスポート番号(oSrc, args) {
        args.IsValid = false;
        if (args.Value != "" && $('#ctl00_ContentPlaceHolder1_txt_発行日').val() != "") {
            args.IsValid = true;
        }

        if ($('#ctl00_ContentPlaceHolder1_txt_発行日').val() == "") {
            args.IsValid = true;
        }
    }

    function ChechDate発行日(oSrc, args) {
        if (args.Value != "") {
            var Valid = checkDate(args.Value);
            if (Valid == true) {
                args.IsValid = checkYearOld(args.Value, getNowDate(new Date()), 0, "<");
            }
            ValidatorEnable2(document.getElementById("<%= CustomValidator発行日2.ClientID %>"), true);
        }
        ValidatorEnable2(document.getElementById("<%= CustomValidator有効期限.ClientID %>"), true);
    }

    function CheckIsDate発行日(oSrc, args) {
        if (args.Value != "") {
            args.IsValid = checkDate(args.Value);
        }
    }

    function CheckRequired発行日(oSrc, args) {
        args.IsValid = false;
        if (args.Value != "" && $('#ctl00_ContentPlaceHolder1_txt_有効期限').val() != "") {
            args.IsValid = true;
        }

        if ($('#ctl00_ContentPlaceHolder1_txt_有効期限').val() == "") {
            args.IsValid = true;
        }
    }

    function CheckRequired発行日2(oSrc, args) {
        if (args.Value != "" && $('#ctl00_ContentPlaceHolder1_txt_パスポート番号').val() == "") {
            ValidatorEnable2(document.getElementById("<%= RequiredFieldValidatorパスポート番号.ClientID %>"), true);
        }

        if (args.Value == "") {
            ValidatorEnable2(document.getElementById("<%= RequiredFieldValidatorパスポート番号.ClientID %>"), false);
        }
    }

    function CheckDate有効期限(oSrc, args) {
        if (args.Value != "") {
            var Valid = checkDate(args.Value);
            if (Valid == true) {
                args.IsValid = checkYearOld($('#ctl00_ContentPlaceHolder1_txt_発行日').val(), args.Value, 0, "<");
            }
            ValidatorEnable2(document.getElementById("<%= CustomValidator有効期限2.ClientID %>"), true);
        }
    }

    function CheckIsDate有効期限(oSrc, args) {
        if (args.Value != "") {
            args.IsValid = checkDate(args.Value);
        }
    }

    function CheckRequired有効期限(oSrc, args) {
        if (args.Value != "" && $('#ctl00_ContentPlaceHolder1_txt_発行日').val() == "") {
            ValidatorEnable2(document.getElementById("<%= RequiredFieldValidator発行日.ClientID %>"), true);
        }

        if (args.Value == "") {
            ValidatorEnable2(document.getElementById("<%= RequiredFieldValidator発行日.ClientID %>"), false);
            ValidatorEnable2(document.getElementById("<%= CustomValidator発行日.ClientID %>"), true);
        }
    }

    function CheckRequired役職名(oSrc, args) {
        if (args.Value == "-1" && ($('#ctl00_ContentPlaceHolder1_txt_発令開始日').val() != "" 
            || $('#ctl00_ContentPlaceHolder1_txt_実際開始日').val() != "" 
            || $('#ctl00_ContentPlaceHolder1_txt_変更理由').val() != "")) {
            args.IsValid = false;
        }

        if (args.Value == "-1" && $('#ctl00_ContentPlaceHolder1_txt_発令開始日').val() == "" && $('#ctl00_ContentPlaceHolder1_txt_実際開始日').val() == "" && $('#ctl00_ContentPlaceHolder1_txt_変更理由').val() == "") {
            return true;
        }
    }

    function CheckDate発令開始日(oSrc, args) {
        if (args.Value != "") {
            var Valid = checkDate(args.Value);
            if (Valid == true) {
                Valid = checkYearOld($('#ctl00_ContentPlaceHolder1_txt_実際開始日').val(), args.Value, 0, ">");
            }
            ValidatorEnable2(document.getElementById("<%= CustomValidator発令開始日1.ClientID %>"), true);
            
        }
        ValidatorEnable2(document.getElementById("<%= CustomValidator発令終了日.ClientID %>"), true);
        ValidatorEnable2(document.getElementById("<%= CustomValidator実際開始日.ClientID %>"), true);
    }

    function CheckIsDate発令開始日(oSrc, args) {
        if (args.Value != "") {
            args.IsValid = checkDate(args.Value);
        }
    }

    function CheckRequired発令開始日(oSrc, args) {
        args.IsValid = false;
        if (args.Value != "" && $('#ctl00_ContentPlaceHolder1_txt_発令終了日').val() != "") {
            args.IsValid = true;
        }

        if ($('#ctl00_ContentPlaceHolder1_txt_発令終了日').val() == "") {
            args.IsValid = true;
        }
    }

    function CheckRequired発令開始日2(oSrc, args) {
        if (args.Value != "" && $('#ctl00_ContentPlaceHolder1_ddl_役職名').val() == "-1") {
            ValidatorEnable2(document.getElementById("<%= RequiredFieldValidator役職名.ClientID %>"), true);
        }

        if (args.Value == "" && $('#ctl00_ContentPlaceHolder1_txt_実際開始日').val() == "" && $('#ctl00_ContentPlaceHolder1_txt_変更理由').val() == "") {
            ValidatorEnable2(document.getElementById("<%= RequiredFieldValidator役職名.ClientID %>"), false);
        }
    }

    function CheckDate発令終了日(oSrc, args) {
        if (args.Value != "") {
            var Valid = checkDate(args.Value);
            if (Valid == true) {
                args.IsValid = checkYearOld($('#ctl00_ContentPlaceHolder1_txt_発令開始日').val(), args.Value, 0, "<");
            }
            ValidatorEnable2(document.getElementById("<%= CustomValidator発令終了日2.ClientID %>"), true);
        }
    }

    function CheckIsDate発令終了日(oSrc, args) {
        if (args.Value != "") {
            args.IsValid = checkDate(args.Value);
        }
    }

    function CheckRequired発令終了日(oSrc, args) {
        if (args.Value != "" && $('#ctl00_ContentPlaceHolder1_txt_発令開始日').val() == "") {
            ValidatorEnable2(document.getElementById("<%= RequiredFieldValidator発令開始日.ClientID %>"), true);
        }

        if (args.Value == "") {
            ValidatorEnable2(document.getElementById("<%= RequiredFieldValidator発令開始日.ClientID %>"), false);
            ValidatorEnable2(document.getElementById("<%= CustomValidator発令開始日.ClientID %>"), true);
        }
    }

    function CheckDate実際開始日(oSrc, args) {
        if (args.Value != "") {
            var Valid = checkDate(args.Value);
            if (Valid == true) {
                args.IsValid = checkYearOld($('#ctl00_ContentPlaceHolder1_txt_発令開始日').val(), args.Value, 0, "<");
            }
            ValidatorEnable2(document.getElementById("<%= CustomValidator実際開始日1.ClientID %>"), true);
        }
        ValidatorEnable2(document.getElementById("<%= CustomValidator実際終了日.ClientID %>"), true);
    }

    function CheckIsDate実際開始日(oSrc, args) {
        if (args.Value != "") {
            args.IsValid = checkDate(args.Value);
        }
    }

    function CheckRequired実際開始日(oSrc, args) {
        args.IsValid = false;
        if (args.Value != "" && $('#ctl00_ContentPlaceHolder1_txt_実際終了日').val() != "") {
            args.IsValid = true;
        }

        if ($('#ctl00_ContentPlaceHolder1_txt_実際終了日').val() == "") {
            args.IsValid = true;
        }
    }

    function CheckRequired実際開始日2(oSrc, args) {
        if (args.Value != "" && $('#ctl00_ContentPlaceHolder1_ddl_役職名').val() == "-1") {
            ValidatorEnable2(document.getElementById("<%= RequiredFieldValidator役職名.ClientID %>"), true);
        }

        if (args.Value == "" && $('#ctl00_ContentPlaceHolder1_txt_発令開始日').val() == "" && $('#ctl00_ContentPlaceHolder1_txt_変更理由').val() == "") {
            ValidatorEnable2(document.getElementById("<%= RequiredFieldValidator役職名.ClientID %>"), false);
        }
    }

    function CheckDate実際終了日(oSrc, args) {
        if (args.Value != "") {
            var Valid = checkDate(args.Value);
            if (Valid == true) {
                args.IsValid = checkYearOld($('#ctl00_ContentPlaceHolder1_txt_実際開始日').val(), args.Value, 0, "<");
            }
            ValidatorEnable2(document.getElementById("<%= CustomValidator実際終了日1.ClientID %>"), true);
        }
    }

    function CheckIsDate実際終了日(oSrc, args) {
        if (args.Value != "") {
            args.IsValid = checkDate(args.Value);
        }
    }

    function CheckRequired実際終了日(oSrc, args) {
        if (args.Value != "" && $('#ctl00_ContentPlaceHolder1_txt_発令開始日').val() == "") {
            ValidatorEnable2(document.getElementById("<%= RequiredFieldValidator実際開始日.ClientID %>"), true);
        }

        if (args.Value == "") {
            ValidatorEnable2(document.getElementById("<%= RequiredFieldValidator実際開始日.ClientID %>"), false);
            ValidatorEnable2(document.getElementById("<%= CustomValidator実際開始日.ClientID %>"), true);
        }
    }

    function CheckRequired変更理由(oSrc, args) {
        if (args.Value != "" && $('#ctl00_ContentPlaceHolder1_ddl_役職名').val() == "-1") {
            ValidatorEnable2(document.getElementById("<%= RequiredFieldValidator役職名.ClientID %>"), true);
        }

        if (args.Value == "" && $('#ctl00_ContentPlaceHolder1_txt_発令開始日').val() == "" && $('#ctl00_ContentPlaceHolder1_txt_実際開始日').val() == "") {
            ValidatorEnable2(document.getElementById("<%= RequiredFieldValidator役職名.ClientID %>"), false);
        }
    }

    function check胸囲(oSrc, args) {
        var decimal_num = args.Value.replace(",", "");
        if (isNaN(decimal_num)) {
            args.IsValid = false;
            return false;
        }
        
        if (parseFloat(decimal_num) >= 1000) {
            args.IsValid = false;
        } else
            args.IsValid = true;
    }

    function check胴回り(oSrc, args) {
        var decimal_num = args.Value.replace(",", "");
        if (isNaN(decimal_num)) {
            args.IsValid = false;
            return false;
        }
        
        if (parseFloat(decimal_num) >= 1000) {
            args.IsValid = false;
        } else
            args.IsValid = true;
    }

    function check足サイズ(oSrc, args) {
        var decimal_num = args.Value;
        if (isNaN(decimal_num)) {
            args.IsValid = false;
            return false;
        }
        
        if (parseFloat(decimal_num) < 10 || parseFloat(decimal_num) > 40) {
            args.IsValid = false;
        } else
            args.IsValid = true;
    }

    function maxLength(field, maxChars) {
        if (field.value.length >= maxChars) {
            event.returnValue = false;
            return false;
        }
    }

    function maxLengthPaste(field, maxChars) {
        event.returnValue = false;
        if ((field.value.length + window.clipboardData.getData("Text").length) > maxChars) {
            return false;
        }
        event.returnValue = true;
    }

</script>
<style type="text/css">
    .css_font_textbox
    {
    	font-family: MS UI Gothic;
        font-size: 11pt;
    }
    .css_align_right
    {
    	ime-mode: disabled;
        text-align: right;	
    }
    .span_足サイズ
    {
    	display: table-cell;
        padding-top: 1.5px;
        width: 100%;
    }
    .css_足サイズ
    {
    	color: Red;
        font-size: small;
        position: relative;
        height: 20px;
        top: 0px;
        left: 35%;
    }
    .css_imemode_2byte
    {
    	ime-mode: active;
    }
    .css_imemode_1byte
    {
    	ime-mode: disabled;
    }
</style>
<asp:UpdatePanel ID="UpdatePanel1" runat="server">
<ContentTemplate>
<div id="maindiv1" class="maindiv1">
        <div>&nbsp;</div>
        <span class="spantitle">基本情報</span>
        <div class="divborder1">
        <div class="detail-admin-row" >
            <span class="detail-admin-label">人コード :</span>
            <asp:TextBox ID="txt_人コード" runat="server" 
                CssClass="css_font_textbox css_imemode_1byte validation type_textbox textbox width2" onkeypress="return NotInputSpecialKeys(this, event)" 
                MaxLength="50"></asp:TextBox>
            <asp:CustomValidator ID= "CustomValidator人コード" runat="server" 
                    ControlToValidate="txt_人コード" 
                    ClientValidationFunction="check1Byte"
                    Display ="None" 
                    SetFocusOnError="False" ValidateEmptyText="True" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender25"
                    TargetControlID="CustomValidator人コード" 
                    HighlightCssClass="invalid" Width="210px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            <asp:CustomValidator ID= "CustomValidator人コード1" runat="server" 
                    ControlToValidate="txt_人コード" 
                    ClientValidationFunction="CheckNotInputSpecialKeys" 
                    Display ="None" 
                    SetFocusOnError="False" ValidateEmptyText="True" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender26"
                    TargetControlID="CustomValidator人コード1" 
                    HighlightCssClass="invalid" Width="210px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
        </div>
        <div class="detail-admin-row" >
            <span class="detail-admin-label">血液型コード :</span>
            <asp:DropDownList ID="ddl_血液型コード" runat="server" 
                CssClass="css_font_textbox dropdownlist width2 type_ddl">
                <asp:ListItem Value="-1" selected="true">[選択]</asp:ListItem><asp:ListItem Value="RH+">RH+</asp:ListItem><asp:ListItem Value="RH-">RH-</asp:ListItem></asp:DropDownList></div><div class="detail-admin-row" >
            <span class="detail-admin-label">血液型名 :</span>
            <asp:DropDownList ID="ddl_血液型名" runat="server"
                CssClass="css_font_textbox dropdownlist width2 type_ddl">
                <asp:ListItem Value="-1" selected="true">[選択]</asp:ListItem><asp:ListItem Value="O">O</asp:ListItem><asp:ListItem Value="A">A</asp:ListItem><asp:ListItem Value="B">B</asp:ListItem><asp:ListItem Value="AB">AB</asp:ListItem></asp:DropDownList></div><div class="detail-admin-row" >
            <span class="detail-admin-label">現資格 :</span>
            <asp:TextBox ID="txt_現資格" runat="server" MaxLength="50"  
                CssClass="css_font_textbox css_imemode_2byte type_textbox textbox width3"></asp:TextBox></div><div class="detail-admin-row" >
            <span class="detail-admin-label">査証申請地 :</span>
            <asp:TextBox ID="txt_査証申請地" runat="server" MaxLength="500"  
                CssClass="css_font_textbox css_imemode_2byte type_textbox textbox width3"></asp:TextBox></div><div class="detail-admin-row" >
            <span class="detail-admin-label">入国目的 :</span>
            <asp:DropDownList ID="ddl_入国目的" runat="server"
                CssClass="css_font_textbox dropdownlist width2 type_ddl">
                <asp:ListItem Value="-1" selected="true">[選択]</asp:ListItem><asp:ListItem Value="0">I</asp:ListItem><asp:ListItem Value="1">J</asp:ListItem><asp:ListItem Value="2">K</asp:ListItem><asp:ListItem Value="3">L</asp:ListItem><asp:ListItem Value="4">M</asp:ListItem><asp:ListItem Value="5">N</asp:ListItem><asp:ListItem Value="6">O</asp:ListItem><asp:ListItem Value="7">Y</asp:ListItem><asp:ListItem Value="8">P</asp:ListItem><asp:ListItem Value="9">Q</asp:ListItem><asp:ListItem Value="10">R</asp:ListItem><asp:ListItem Value="11">T</asp:ListItem><asp:ListItem Value="12">U</asp:ListItem></asp:DropDownList></div>
            <div class="detail-admin-row" >
                <span class="detail-admin-label">パスポート番号 :</span>
                <asp:TextBox ID="txt_パスポート番号" runat="server" MaxLength="15"  
                    CssClass="css_font_textbox css_imemode_1byte validation type_textbox textbox width2" 
                    onkeypress="return NotInputSpecialKeys(this, event)"></asp:TextBox>
            <asp:CustomValidator ID= "CustomValidatorパスポート番号" runat="server" 
                    ControlToValidate="txt_パスポート番号" 
                    ClientValidationFunction="check1Byte"
                    Display ="None" 
                    SetFocusOnError="False" ValidateEmptyText="True" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender24"
                    TargetControlID="CustomValidatorパスポート番号" 
                    HighlightCssClass="invalid" Width="210px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            <asp:CustomValidator ID= "CustomValidatorパスポート番号1" runat="server" 
                    ControlToValidate="txt_パスポート番号" 
                    ClientValidationFunction="CheckNotInputSpecialKeys" 
                    Display ="None" 
                    SetFocusOnError="False" ValidateEmptyText="True" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender27"
                    TargetControlID="CustomValidatorパスポート番号1" 
                    HighlightCssClass="invalid" Width="210px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            <asp:CustomValidator runat="server" ID="RequiredFieldValidatorパスポート番号"
                    ControlToValidate="txt_パスポート番号"
                    Display="None"
                    ClientValidationFunction="CheckRequiredパスポート番号"
                    SetFocusOnError="False"
                    ErrorMessage="1.2。" ValidateEmptyText="True" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender28"
                    TargetControlID="RequiredFieldValidatorパスポート番号" 
                    HighlightCssClass="invalid2" Width="240px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
            </div>
            <div class="detail-admin-row">
                <span class="detail-admin-label">発行日 :</span> 
                <asp:TextBox id="txt_発行日" runat="server" ValidationGroup="detailForm" 
                    onkeypress="return InputNumberKeys(this, event)" 
                    CssClass="css_font_textbox css_textbox_Calendar validation type_textbox textbox width_calendar" MaxLength="8"></asp:TextBox><asp:ImageButton id="imb_発行日" runat="server" Height="19px" ImageUrl="~/Images/calendar.jpg" ValidationGroup="detailForm"></asp:ImageButton> 
                <ajaxToolkit:CalendarExtender id="CalendarExtender4" runat="server" Format="yyyy/MM/dd" TargetControlID="txt_発行日" PopupButtonID="imb_発行日"> </ajaxToolkit:CalendarExtender> 
                <asp:CustomValidator ID= "CustomValidator発行日" runat="server" 
                    ControlToValidate="txt_発行日" 
                    ClientValidationFunction= "ChechDate発行日"
                    ErrorMessage="1.0" 
                    Display ="None" 
                    SetFocusOnError="False" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender31"
                    TargetControlID="CustomValidator発行日" 
                    HighlightCssClass="invalid" Width="210px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
                <asp:CustomValidator ID= "CustomValidator発行日2" runat="server" 
                    ControlToValidate="txt_発行日" 
                    ClientValidationFunction= "CheckIsDate発行日"
                    ErrorMessage="1.1" 
                    Display ="None" 
                    SetFocusOnError="False" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender13"
                    TargetControlID="CustomValidator発行日2" 
                    HighlightCssClass="invalid1" Width="210px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
                <asp:CustomValidator runat="server" ID="RequiredFieldValidator発行日"
                    ControlToValidate="txt_発行日"
                    Display="None"
                    ClientValidationFunction="CheckRequired発行日"
                    SetFocusOnError="False"
                    ErrorMessage="1.2。" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender12"
                    TargetControlID="RequiredFieldValidator発行日" 
                    HighlightCssClass="invalid2" Width="240px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" /> 
                 <asp:CustomValidator ID= "CustomValidator発行日3" runat="server" 
                    ControlToValidate="txt_発行日" 
                    ClientValidationFunction="CheckRequired発行日2" 
                    ErrorMessage="1.3" 
                    Display ="None" SetFocusOnError="False" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender29"
                    TargetControlID="CustomValidator発行日3" 
                    HighlightCssClass="invalid2" Width="210px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
        </div>
        <DIV class="detail-admin-row">
                <SPAN class="detail-admin-label">有効期限 :</SPAN> 
                <asp:TextBox id="txt_有効期限" runat="server" onkeypress="return InputNumberKeys(this, event)" 
                    ValidationGroup="detailForm"  
                    CssClass="css_font_textbox css_textbox_Calendar validation type_textbox textbox width_calendar" MaxLength="8"></asp:TextBox><asp:ImageButton id="imb_有効期限" runat="server" Height="19px" ImageUrl="~/Images/calendar.jpg" ValidationGroup="detailForm"></asp:ImageButton> 
                <ajaxToolkit:CalendarExtender id="CalendarExtender1" runat="server" Format="yyyy/MM/dd" TargetControlID="txt_有効期限" PopupButtonID="imb_有効期限"> </ajaxToolkit:CalendarExtender> 
                <asp:CustomValidator ID= "CustomValidator有効期限" runat="server" 
                    ControlToValidate="txt_有効期限" 
                    ClientValidationFunction="CheckDate有効期限" 
                    ErrorMessage="2.0" 
                    Display ="None" SetFocusOnError="False" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender1"
                    TargetControlID="CustomValidator有効期限" 
                    HighlightCssClass="invalid" Width="240px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
                <asp:CustomValidator ID= "CustomValidator有効期限1" runat="server" 
                    ControlToValidate="txt_有効期限" 
                    ClientValidationFunction="CheckIsDate有効期限" 
                    ErrorMessage="2.1" 
                    Display ="None" SetFocusOnError="False" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender14"
                    TargetControlID="CustomValidator有効期限1" 
                    HighlightCssClass="invalid1" Width="210px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
                <asp:CustomValidator ID= "CustomValidator有効期限2" runat="server" 
                    ControlToValidate="txt_有効期限" 
                    ClientValidationFunction="CheckRequired有効期限" 
                    ErrorMessage="2.3" 
                    Display ="None" SetFocusOnError="False" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender15"
                    TargetControlID="CustomValidator有効期限2" 
                    HighlightCssClass="invalid2" Width="210px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
        </DIV>
        <div class="detail-admin-row" >
            <span class="detail-admin-label">実習生在留資格タイプ :</span>
            <asp:DropDownList ID="ddl_実習生在留資格タイプ" runat="server" 
                CssClass="css_font_textbox dropdownlist width2 type_ddl">
                <asp:ListItem Value="-1" selected="true">[選択]</asp:ListItem><asp:ListItem Value="0">団体管理</asp:ListItem><asp:ListItem Value="1">企業単独</asp:ListItem></asp:DropDownList></div>
        <div class="detail-admin-row" >
            <span class="detail-admin-label">実習生入国グループ :</span>
            <asp:TextBox ID="txt_実習生入国グループ" runat="server" MaxLength="50" 
                CssClass="css_font_textbox css_imemode_2byte type_textbox textbox width3"></asp:TextBox></div>
        </div>

        <span class="spantitle">入退社情報</span>
        <div class="divborder1">
        <div class="detail-admin-row" >
            <span class="detail-admin-label">入社年月日 :</span>
            <asp:TextBox ID="txt_入社年月日" runat="server" 
                CssClass="css_font_textbox css_textbox_Calendar validation type_textbox textbox width_calendar" 
                onkeypress="return InputNumberKeys(this, event)" ValidationGroup="detailForm" 
                MaxLength="8"></asp:TextBox><asp:ImageButton id="imb_入社年月日" runat="server" Height="19px" ImageUrl="~/Images/calendar.jpg" ValidationGroup="detailForm"></asp:ImageButton> 
            <ajaxToolkit:CalendarExtender id="CalendarExtender9" runat="server" Format="yyyy/MM/dd" TargetControlID="txt_入社年月日" PopupButtonID="imb_入社年月日"> </ajaxToolkit:CalendarExtender>
            <asp:CustomValidator ID= "CustomValidator入社年月日" runat="server" 
                    ControlToValidate="txt_入社年月日" 
                    ClientValidationFunction="isDate" 
                    ErrorMessage="3.0" 
                    Display ="None" SetFocusOnError="False" />
              <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender9"
                    TargetControlID="CustomValidator入社年月日" 
                    HighlightCssClass="invalid" Width="210px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
        </div>
        <div class="detail-admin-row" >
            <span class="detail-admin-label">入社特記事項 :</span>
            <asp:TextBox ID="txt_入社特記事項" runat="server" MaxLength="200" 
                CssClass="css_font_textbox css_imemode_2byte type_textbox textbox width3"></asp:TextBox></div>
        </div>        

        <span class="spantitle">資格情報</span>
        <div class="divborder1">
        <div class="detail-admin-row" >
            <span class="detail-admin-label">役職名 :</span>
            <asp:DropDownList ID="ddl_役職名" runat="server"
                CssClass="css_font_textbox dropdownlist width2 type_ddl">
                <asp:ListItem Value="-1" selected="true">[選択]</asp:ListItem></asp:DropDownList>
            <asp:CustomValidator runat="server" ID="RequiredFieldValidator役職名"
                    ControlToValidate="ddl_役職名"
                    Display="None"
                    ClientValidationFunction="CheckRequired役職名"
                    SetFocusOnError="False"
                    ErrorMessage="役職名" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender30"
                    TargetControlID="RequiredFieldValidator役職名" 
                    HighlightCssClass="invalid2" Width="240px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" /> 
        </div>
        <DIV class="detail-admin-row"><SPAN class="detail-admin-label">発令開始日 :</SPAN> 
                <asp:TextBox id="txt_発令開始日" runat="server" onkeypress="return InputNumberKeys(this, event)" 
                    ValidationGroup="detailForm" 
                    CssClass="css_font_textbox css_textbox_Calendar validation type_textbox textbox width_calendar" MaxLength="8" ></asp:TextBox><asp:ImageButton id="imb_発令開始日" runat="server" Height="19px" ImageUrl="~/Images/calendar.jpg" ValidationGroup="detailForm"></asp:ImageButton> 
                <ajaxToolkit:CalendarExtender id="CalendarExtender2" runat="server" Format="yyyy/MM/dd" TargetControlID="txt_発令開始日" PopupButtonID="imb_発令開始日"> </ajaxToolkit:CalendarExtender> 
                 <asp:CustomValidator ID= "CustomValidator発令開始日" runat="server" 
                    ControlToValidate="txt_発令開始日" 
                    ClientValidationFunction= "CheckDate発令開始日"
                    ErrorMessage="4.0" 
                    Display ="None" 
                    SetFocusOnError="False" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender2"
                    TargetControlID="CustomValidator発令開始日" 
                    HighlightCssClass="invalid" Width="240px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
                 <asp:CustomValidator ID= "CustomValidator発令開始日1" runat="server" 
                    ControlToValidate="txt_発令開始日" 
                    ClientValidationFunction= "CheckIsDate発令開始日"
                    ErrorMessage="4.1" 
                    Display ="None" 
                    SetFocusOnError="False" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender6"
                    TargetControlID="CustomValidator発令開始日1" 
                    HighlightCssClass="invalid1" Width="210px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
                <asp:CustomValidator runat="server" ID="RequiredFieldValidator発令開始日"
                    ControlToValidate="txt_発令開始日"
                    Display="None"
                    ClientValidationFunction="CheckRequired発令開始日"
                    SetFocusOnError="False"
                    ErrorMessage="4.2" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender7"
                    TargetControlID="RequiredFieldValidator発令開始日" 
                    HighlightCssClass="invalid2" Width="240px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" /> 
                <asp:CustomValidator runat="server" ID="RequiredFieldValidator発令開始日2"
                    ControlToValidate="txt_発令開始日"
                    Display="None"
                    ClientValidationFunction="CheckRequired発令開始日2"
                    SetFocusOnError="False"
                    ErrorMessage="4.3" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender32"
                    TargetControlID="RequiredFieldValidator発令開始日2" 
                    HighlightCssClass="invalid2" Width="240px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
        </DIV>
        <DIV class="detail-admin-row">
                <SPAN class="detail-admin-label">発令終了日 :</SPAN> 
                <asp:TextBox id="txt_発令終了日" runat="server" onkeypress="return InputNumberKeys(this, event)" 
                    ValidationGroup="detailForm" 
                    CssClass="css_font_textbox css_textbox_Calendar validation type_textbox textbox width_calendar" MaxLength="8"></asp:TextBox><asp:ImageButton id="imb_発令終了日" runat="server" Height="19px" ImageUrl="~/Images/calendar.jpg" ValidationGroup="detailForm"></asp:ImageButton> 
                <ajaxToolkit:CalendarExtender id="CalendarExtender3" runat="server" Format="yyyy/MM/dd" TargetControlID="txt_発令終了日" PopupButtonID="imb_発令終了日"> </ajaxToolkit:CalendarExtender> 
                <asp:CustomValidator ID= "CustomValidator発令終了日" runat="server" 
                    ControlToValidate="txt_発令終了日" 
                    ClientValidationFunction="CheckDate発令終了日" 
                    ErrorMessage="5.0" 
                    Display ="None" SetFocusOnError="False" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender16"
                    TargetControlID="CustomValidator発令終了日" 
                    HighlightCssClass="invalid" Width="240px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
                <asp:CustomValidator ID= "CustomValidator発令終了日1" runat="server" 
                    ControlToValidate="txt_発令終了日" 
                    ClientValidationFunction="CheckIsDate発令終了日" 
                    ErrorMessage="5.1" 
                    Display ="None" SetFocusOnError="False" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender17"
                    TargetControlID="CustomValidator発令終了日1" 
                    HighlightCssClass="invalid1" Width="210px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
                <asp:CustomValidator ID= "CustomValidator発令終了日2" runat="server" 
                    ControlToValidate="txt_発令終了日" 
                    ClientValidationFunction="CheckRequired発令終了日" 
                    ErrorMessage="5.2" 
                    Display ="None" SetFocusOnError="False" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender23"
                    TargetControlID="CustomValidator発令終了日2" 
                    HighlightCssClass="invalid2" Width="210px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
        </DIV>
        <DIV class="detail-admin-row">
                <SPAN class="detail-admin-label">実際開始日 :</SPAN> 
                <asp:TextBox id="txt_実際開始日" runat="server" onkeypress="return InputNumberKeys(this, event)" 
                    ValidationGroup="detailForm" 
                    CssClass="css_font_textbox css_textbox_Calendar validation type_textbox textbox width_calendar" MaxLength="8"></asp:TextBox><asp:ImageButton id="imb_実際開始日" runat="server" Height="19px" ImageUrl="~/Images/calendar.jpg" ValidationGroup="detailForm"></asp:ImageButton> 
                <ajaxToolkit:CalendarExtender id="CalendarExtender5" runat="server" Format="yyyy/MM/dd" TargetControlID="txt_実際開始日" PopupButtonID="imb_実際開始日"> </ajaxToolkit:CalendarExtender> 
                <asp:CustomValidator ID= "CustomValidator実際開始日" runat="server" 
                    ControlToValidate="txt_実際開始日" 
                    ClientValidationFunction= "CheckDate実際開始日"
                    ErrorMessage="6.0" 
                    Display ="None" 
                    SetFocusOnError="False" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender3"
                    TargetControlID="CustomValidator実際開始日" 
                    HighlightCssClass="invalid" Width="240px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
                 <asp:CustomValidator ID= "CustomValidator実際開始日1" runat="server" 
                    ControlToValidate="txt_実際開始日" 
                    ClientValidationFunction= "CheckIsDate実際開始日"
                    ErrorMessage="6.1" 
                    Display ="None" 
                    SetFocusOnError="False" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender5"
                    TargetControlID="CustomValidator実際開始日1" 
                    HighlightCssClass="invalid1" Width="210px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
                <asp:CustomValidator runat="server" ID="RequiredFieldValidator実際開始日"
                    ControlToValidate="txt_実際開始日"
                    Display="None"
                    ClientValidationFunction="CheckRequired実際開始日"
                    SetFocusOnError="False"
                    ErrorMessage="6.1。" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender4"
                    TargetControlID="RequiredFieldValidator実際開始日" 
                    HighlightCssClass="invalid2" Width="240px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" /> 
                <asp:CustomValidator runat="server" ID="RequiredFieldValidator実際開始日2"
                    ControlToValidate="txt_実際開始日"
                    Display="None"
                    ClientValidationFunction="CheckRequired実際開始日2"
                    SetFocusOnError="False"
                    ErrorMessage="6.2。" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender33"
                    TargetControlID="RequiredFieldValidator実際開始日2" 
                    HighlightCssClass="invalid3" Width="240px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" /> 
        </DIV>
        <DIV class="detail-admin-row">
                <SPAN class="detail-admin-label">実際終了日 :</SPAN> 
                <asp:TextBox id="txt_実際終了日" runat="server" onkeypress="return InputNumberKeys(this, event)" 
                    ValidationGroup="detailForm" 
                    CssClass="css_font_textbox css_textbox_Calendar validation type_textbox textbox width_calendar" MaxLength="8"></asp:TextBox><asp:ImageButton id="imb_実際終了日" runat="server" Height="19px" ImageUrl="~/Images/calendar.jpg" ValidationGroup="detailForm"></asp:ImageButton> 
                <ajaxToolkit:CalendarExtender id="CalendarExtender6" runat="server" Format="yyyy/MM/dd" TargetControlID="txt_実際終了日" PopupButtonID="imb_実際終了日"> </ajaxToolkit:CalendarExtender> 
                <asp:CustomValidator ID= "CustomValidator実際終了日" runat="server" 
                    ControlToValidate="txt_実際終了日" 
                    ClientValidationFunction="CheckDate実際終了日" 
                    ErrorMessage="7.0" 
                    Display ="None" SetFocusOnError="False" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender18"
                    TargetControlID="CustomValidator実際終了日" 
                    HighlightCssClass="invalid" Width="240px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
                <asp:CustomValidator ID= "CustomValidator実際終了日1" runat="server" 
                    ControlToValidate="txt_実際終了日" 
                    ClientValidationFunction="CheckIsDate実際終了日" 
                    ErrorMessage="7.1" 
                    Display ="None" SetFocusOnError="False" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender19"
                    TargetControlID="CustomValidator実際終了日1" 
                    HighlightCssClass="invalid1" Width="210px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
                <asp:CustomValidator ID= "CustomValidator実際終了日2" runat="server" 
                    ControlToValidate="txt_実際終了日" 
                    ClientValidationFunction="CheckRequired実際終了日" 
                    ErrorMessage="7.3" 
                    Display ="None" SetFocusOnError="False" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender20"
                    TargetControlID="CustomValidator実際終了日2" 
                    HighlightCssClass="invalid2" Width="210px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
        </DIV>
            <div class="detail-admin-row" >
                <span class="detail-admin-label">変更理由 :</span>
                <asp:TextBox ID="txt_変更理由" runat="server" TextMode="MultiLine" 
                    onKeyPress='return maxLength(this,"200");' 
                    onpaste='return maxLengthPaste(this,"200");' 
                    CssClass="css_font_textbox textarea css_imemode_2byte type_textbox width3"></asp:TextBox>
                <asp:CustomValidator runat="server" ID="RequiredFieldValidator変更理由"
                    ControlToValidate="txt_変更理由"
                    Display="None"
                    ClientValidationFunction="CheckRequired変更理由"
                    SetFocusOnError="False"
                    ErrorMessage="変更理由" ValidateEmptyText="True" />
                <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender34"
                    TargetControlID="RequiredFieldValidator変更理由" 
                    HighlightCssClass="invalid2" Width="240px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" /> 
            </div>
        </div>
    
        <span class="spantitle">所属情報</span>
        <div class="divborder1">
        <div class="detail-admin-row" >
            <span class="detail-admin-label">勤務地  :</span>
           <asp:DropDownList ID="ddl_勤務地" runat="server" 
                CssClass="css_font_textbox dropdownlist width2 type_ddl">
                <asp:ListItem Value="-1" selected="true">[選択]</asp:ListItem></asp:DropDownList></div>
            <div id="div1" style="padding-top: 20px;"></div> 
        </div>
        
        <span class="spantitle">職種職務情報</span>
        <div class="divborder1">
        <div class="detail-admin-row" >
            <span class="detail-admin-label">職種コード :</span>
           <asp:DropDownList ID="ddl_職種コード" AutoPostBack="true" runat="server" 
                onselectedindexchanged="ddl_職種コード_SelectedIndexChanged" 
                CssClass="css_font_textbox dropdownlist width3 type_ddl">
                <asp:ListItem Value="-1" selected="true">[選択]</asp:ListItem></asp:DropDownList></div>
        <div class="detail-admin-row" >
            <span class="detail-admin-label">職務コード :</span>
            <asp:DropDownList ID="ddl_職務コード" runat="server"
                CssClass="css_font_textbox dropdownlist width3" Enabled="False">
                <asp:ListItem Value="-1" selected="true">[選択]</asp:ListItem></asp:DropDownList></div>
            <div id="div_padding_top" style="padding-top: 20px;"></div> 
        </div>

        <span class="spantitle">健康診断情報</span>
        <div class="divborder1">
        <DIV class="detail-admin-row"><SPAN class="detail-admin-label">健康診断日 :</SPAN> 
                <asp:TextBox id="txt_健康診断日" runat="server" onkeypress="return InputNumberKeys(this, event)" 
                    ValidationGroup="detailForm" 
                    CssClass="css_font_textbox css_textbox_Calendar validation type_textbox textbox width_calendar" MaxLength="8"></asp:TextBox><asp:ImageButton id="imb_健康診断日" runat="server" Height="19px" ImageUrl="~/Images/calendar.jpg" ValidationGroup="detailForm"></asp:ImageButton> 
                <ajaxToolkit:CalendarExtender id="CalendarExtender7" runat="server" Format="yyyy/MM/dd" TargetControlID="txt_健康診断日" PopupButtonID="imb_健康診断日"> </ajaxToolkit:CalendarExtender> 
                <asp:CustomValidator ID= "CustomValidator健康診断日" runat="server" 
                    ControlToValidate="txt_健康診断日" 
                    ClientValidationFunction="isDate" 
                    ErrorMessage="健康診断日: 日付形式が誤りしました。" 
                    Display ="None" SetFocusOnError="False" />
              <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender10"
                    TargetControlID="CustomValidator健康診断日" 
                    HighlightCssClass="invalid" Width="210px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
        </DIV>
        <div class="detail-admin-row" >
            <span class="detail-admin-label">健康状態 :</span>
            <asp:TextBox ID="txt_健康状態" runat="server" MaxLength="500" 
                CssClass="css_font_textbox type_textbox textbox width3"></asp:TextBox></div>
        <DIV class="detail-admin-row">
			<SPAN class="detail-admin-label">精密検査日 :</SPAN> 
                <asp:TextBox id="txt_精密検査日" runat="server" onkeypress="return InputNumberKeys(this, event)" 
                    ValidationGroup="detailForm" 
                    CssClass="css_font_textbox css_textbox_Calendar validation type_textbox textbox width_calendar" MaxLength="8"></asp:TextBox><asp:ImageButton id="imb_精密検査日" runat="server" Height="19px" ImageUrl="~/Images/calendar.jpg" ValidationGroup="detailForm"></asp:ImageButton> 
                <ajaxToolkit:CalendarExtender id="CalendarExtender8" runat="server" Format="yyyy/MM/dd" TargetControlID="txt_精密検査日" PopupButtonID="imb_精密検査日"> </ajaxToolkit:CalendarExtender> 
                <asp:CustomValidator ID= "CustomValidator精密検査日" runat="server" 
                    ControlToValidate="txt_精密検査日" 
                    ClientValidationFunction="isDate" 
                    ErrorMessage="精密検査日: 日付形式が誤りしました。" 
                    Display ="None" SetFocusOnError="False" />
              <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender11"
                    TargetControlID="CustomValidator精密検査日" 
                    HighlightCssClass="invalid" Width="210px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
        </DIV>
        <div class="detail-admin-row" >
            <span class="detail-admin-label">経過観察項目 :</span>
            <asp:TextBox ID="txt_経過観察項目" runat="server" MaxLength="500" 
                CssClass="css_font_textbox type_textbox textbox width3"></asp:TextBox></div>
        </div>

        <span class="spantitle">制服情報</span>
        <div class="divborder1">
        <div class="detail-admin-row" >
            <span class="detail-admin-label">胸囲 :</span>
           <asp:TextBox ID="txt_胸囲" runat="server" CssClass="css_font_textbox money validation type_textbox textbox width2" onkeypress="return decimalonly(this, event)" MaxLength="5" onpaste="return false;"></asp:TextBox><asp:CustomValidator ID= "CustomValidator胸囲" runat="server" 
                    ControlToValidate="txt_胸囲" 
                    ClientValidationFunction="check胸囲" 
                    ErrorMessage="胸囲正しいデータがありません。" 
                    Display ="None" SetFocusOnError="False" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender21"
                    TargetControlID="CustomValidator胸囲" 
                    HighlightCssClass="invalid" Width="210px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
        </div>
        <div class="detail-admin-row" >
            <span class="detail-admin-label">胴回り :</span>
            <asp:TextBox ID="txt_胴回り" runat="server" CssClass="css_font_textbox money validation type_textbox textbox width2" onkeypress="return decimalonly(this, event)" MaxLength="5" onpaste="return false;"></asp:TextBox><asp:CustomValidator ID= "CustomValidator胴回り" runat="server" 
                    ControlToValidate="txt_胴回り" 
                    ClientValidationFunction="check胴回り" 
                    ErrorMessage="胴回り正しいデータがありません。" 
                    Display ="None" SetFocusOnError="False" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender22"
                    TargetControlID="CustomValidator胴回り" 
                    HighlightCssClass="invalid" Width="210px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
        </div>
        
        <div class="detail-admin-row" >
            <span class="detail-admin-label">足サイズ :</span>
            <asp:TextBox ID="txt_足サイズ" runat="server" CssClass="css_font_textbox money validation type_textbox textbox width2" onkeypress="return decimalonly(this, event)" MaxLength="4" onpaste="return false;"></asp:TextBox><span style="vertical-align: bottom;">cm</span>
            <asp:CustomValidator ID= "CustomValidator足サイズ" runat="server" 
                    ControlToValidate="txt_足サイズ" 
                    ClientValidationFunction="check足サイズ" 
                    ErrorMessage="足サイズ: 正しいデータがありません。" 
                    Display ="None" SetFocusOnError="False" />
            <ajaxToolkit:ValidatorCalloutExtender runat="Server" ID="ValidatorCalloutExtender8"
                    TargetControlID="CustomValidator足サイズ" 
                    HighlightCssClass="invalid" Width="210px"
                    CssClass="CustomValidatorCalloutStyle" WarningIconImageUrl="../Images/warning.png" />
        </div>
        <div class="css_足サイズ">
                <span class="span_足サイズ">例：25.5 cm。</span>
            </div>
         </div>

<%--        <div class="div_height20"></div>
                <div class="btn_last floatR" style="padding-right:50px">
                <asp:Button ID="btn確認"  runat="server" Text="確認" OnClick="btn確認_Click" CssClass="btn" OnClientClick="javascript:focusToControlErr();" />
                </div>--%>
        
        <div class="detail-admin-row">
            <span class="detail-admin-label">&nbsp;</span>
            <asp:Button ID="btn確認"  runat="server" Text="確認" OnClick="btn確認_Click" CssClass="btn" OnClientClick="javascript:focusToControlErr();" />
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
             <asp:Button ID="btnリセット" runat="server" Text="リセット" CssClass="btn" 
                ValidationGroup="detailForm" onclick="btnリセット_Click" /> 
         </div>
        <div class="div_height20"></div>
</div>
</ContentTemplate>
</asp:UpdatePanel>
<div>&nbsp;</div><br />      
</asp:Content>


